package com.mars.ticket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mars.ticket.entity.SysUser;
import com.mars.ticket.request.SysUserLoginRequest;
import com.mars.ticket.request.SysUserRequest;
import com.mars.ticket.response.SysUserResponse;
import com.mars.ticket.response.base.PageInfo;
import com.mars.ticket.response.result.R;

/**
 * SysUser 接口
 *
 * @Author wq
 * @Date 2021-03-15
 **/
public interface ISysUserService extends IService<SysUser> {

    /**
     * 登录
     *
     * @param request request
     */
    SysUserResponse login(SysUserLoginRequest request);


    /**
     * 用户列表
     *
     * @param request request
     * @return PageInfo<SysUser>
     */
    PageInfo<SysUser> listUser(SysUserRequest request);

}
